using System.Linq;

namespace Blog.Models.UserServices
{
    public interface IUserRepository
    {

        IQueryable<User> FindAlldata();
        User GetByIdMax();
        User Getdata(int id);
        User GetDataByName(string name);
        void Add(User data);
        void Delete(User data);
        void Save();
    }
}